package cn.zbacm.api.util;

import org.apache.commons.text.RandomStringGenerator;

public class RandomGenerator {

  public static String generateRandomNumbers(int length) {
    RandomStringGenerator pwdGenerator =
            new RandomStringGenerator.Builder().withinRange(48, 57).build();
    return pwdGenerator.generate(length);
  }
}
